<table border="0" cellpadding="0" cellspacing="0">
<tr>
    <td valign="top" ><img src="templates/SoloTemplate_ZonaPersonal.jpg" border="0"/> </td>
</tr>

<tr>
    <td align="center" class="SoloStyle_FondoLogon">
	<form name="SoloForm" action="solotrn_signon.php" onsubmit="return SoloFun_ValIngreso();" method="post">
	<table width="136" border="0" cellpadding="2" cellspacing="0" class="SoloStyle_FondoLogon">
              <tr>
                <td width="59" align="left">&nbsp;Usuario:</td>
                  
          </tr>
          <tr> 
              <td><input name="SoloUser" id="SoloUser" type="text" class="SoloStyle_TextoLogon" size="25" maxlength="20"/> </td>
          </tr>
          <tr>
                <td align="left">&nbsp;Contrase&ntilde;a:</td>
          </tr>
          <tr>
              <td><input name="SoloPass" id="SoloPass" type="password" class="SoloStyle_TextoLogon" size="25" maxlength="20"/> </td>
          </tr>
          <tr align="center">
            <td colspan="2"><BR><div align="right">
              <input name="btnSubmit" type="submit" value="Ingresar" class="SoloStyle_BotonLogon">
            </div></td>
            </tr>
    </table>
	</form>
    </td>
</tr>
<tr>
   <td class="SoloStyle_Fondo2" align="right">&nbsp;</td>
</tr>
</table>

<script type="text/javascript">
function SoloFun_ValIngreso(){
    var SoloUser = document.getElementById("SoloUser");
    var SoloPass = document.getElementById("SoloPass");

	if (SoloUser.value !='' && SoloPass.value != ''){
            //window.location = "solotrn_signon.php";
            //SoloForm.submit();
            return true;
	}else{
		if (SoloUser.value == '') {
			alert('Ingrese Usuario!');
			SoloUser.focus();
			return false;
			}
		if (SoloPass.value=='') {
			alert('Ingrese Password!')
			SoloPass.focus();
                        return false;
		}
	}
}

    /*var soloPass = document.getElementsByName("SoloPass")[0];
        soloPass.onkeydown = function (e){
            var tecla;
            if(window.event){
                    tecla = window.event.keyCode;
            }else{
                    tecla = e.keyCode;
            }

            if(tecla == 13){
                    SoloFun_ValIngreso();//frmLogon.submit();
            }
        }*/
</script>